﻿#include "VersionInfo.h"
#include "CommonVersion.h"

namespace Common {

	VersionInfo::VersionInfo()
	{
	}

	VersionInfo::~VersionInfo()
	{
	}

	int VersionInfo::majorVersion() 
	{
		return MAJOR_VERSION;
	}

	int VersionInfo::minorVersion() 
	{
		return MINOR_VERSION;
	}

	int VersionInfo::buildVersion() 
	{
		return BUILD_VERSION;
	}

	int VersionInfo::revisionVersion() 
	{
		return REVISION_VERSION;
	}

	QString VersionInfo::toString() 
	{
		return QString("%1.%2.%3.%4").arg(MAJOR_VERSION).arg(MINOR_VERSION).arg(REVISION_VERSION).arg(BUILD_VERSION);
	}

}//namespace Common 